# Contributor: Hugo Rodrigues <hugorodrigues@hugorodrigues.xyz>>
# Maintainer: Hugo Rodrigues <hugorodrigues@hugorodrigues.xyz>>
pkgname=crossplane
pkgver=0.5.8
pkgrel=2
pkgdesc="Quick and reliable way to convert NGINX configurations into JSON and back."
url="https://github.com/nginxinc/crossplane/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/c/crossplane/crossplane-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
40354ff7aa3a75093527550971a12e128b9f6e18589d1a0f568c6b276589a3440f4ee3a7f9efc80b301971af87321d2b2a363ced6e10353b9b8ae5add7b7fb60  crossplane-0.5.8.tar.gz
"
